SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ea1eebb9295a5e9aabb38d8522cba2fb2156e53772e2d0db2ac9a3503308447d' 
  AND token = 'ZgqkEXqftDQEi+5RE20ETMjHBJIa7ngzZEPRuAIpaAs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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