SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a056a77ab4d296382de3d42104759a46b8119c9b92481848dc2432a0d130e44d' 
  AND token = 'UkV8tBR++geXaHlj57inIrfDVk2DqqyBgLdD16isvcM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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