SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '58cd15199f78785047bad74c21e02804d705b6c6610e78b52a241484e3ed1706' 
  AND token = 'IAc8K1kSgL58u/YwVp35L/JzEiH7mi3m67BnfCjyPfE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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