SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7f798c02045a7c16b6b7eed0e0db7f6a6da346f9c8eb0b5633bb06fbb6c1665' 
  AND token = 'JNtMIMNRDZiEGNcVo6jU8vjG2DwMi/wZ/+IpdI3RRBg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}