SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4d3ff0a4ec620e2c4c25f5c259ec79d1c9f156fe9a4e70e435abae17bdfcf7c8' 
  AND token = 'HVt0f8FgaBntVXhmv+bD4zA36ZuNAAcnyxMyrGVTm6g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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