SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3a8f17a4094693f60d51626c9e886e07a3f78223abd4defb9e61154c70f03fb3' 
  AND token = 'sdYZ4G/6bXmgRlufF0OTW5JjJeJKsI2vZtZyUH38mQo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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