SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '1d64ce31bc8bf55552506fa6f767c8b6f30e980fdaf0e9a225646f4d7d1855b8' 
  AND token = 'lwfA+tRi84LkDH8yJIonsKS0M910WS25isoomUSaSx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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