SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '562af53480e528e26d4e2a234f1e79c8fd4674b1cd11342e53dce5040bf31e7f' 
  AND token = 'fF7G/tHR+OL+QnKjgdRqvykc226gyxyffqC32y7O5G0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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