SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7427aa162e77afea17787680c125f0edd632a729f0b8c987037293650cb0afd3' 
  AND token = 'pgtszcMnQ+fzMpxtmL2o9dWJ7wWRio8Xuk0x+lX+QHs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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