SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d16ace9ef14d082cbdbac8103e2257b120480cdff1a163eeb4ba64154620f66' 
  AND token = 'Xj7Dx+gUBX+Jv4I4Ye6WivX4ulOXiX9fCv851iSWWN8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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