SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aff6b384cefb5c0a4b86706f969be845ec94eee385c31cfce8b7d7213634ec0c' 
  AND token = 'ZYk9yJCGb3oJn3jdKOg76mlP5LGNfbGPEb1/bVQwp4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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