SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '418537152af0f878d461951dfac7c61e2b90aab5707149aabd44fb19dc53be4b' 
  AND token = 'JWBm89VjHzX9m1DNzvhiLzkfdMfXVEigyItR33A8cJg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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