SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf2cdba8475a3e5efdc8640c4b6d59457e4a1b5fa8435c52a99c865d278407de' 
  AND token = 'JmZs2bc27pwJ+Gcj1M3Urr/RlrYzxjEcBY0eBMRsr8w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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