SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e4f1ce9ea87e24560df4ed686ab874bd364f6ce45e8dc235a0e131c19c66881f' 
  AND token = 'i0CmDlNQmHFqWPekNRcCXZf77F6mW35YhW+Azhefg38=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}