SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a7ae0fe1b43a06084dbb9a2fd9fa66ce327f739fbe87ef53de21d7159fcc6dae' 
  AND token = 'UVKYL8qpHlg6ExD/ig0gi95FOV1V+PqV7DWgG/orGx4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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