SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd5828deb9e603f58ec66ce0ea715e9966bf05bc9068e928d06ca4abd030ddc5e' 
  AND token = '5ZMELWwKaYYPIeuCmXDq6RnP36qEGhzfMP3eFcAjn3Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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