SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31c700b707a321a24d822da63ccc6e7dff547a3cc90878891417be388d72fe2f' 
  AND token = 'fgQxt/vWngk3aj4pC5UhSmVbv+efTrCGQEoktbxzMUs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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