SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f02f771cafa3becff783d8f61c97d2e46e4224dfc4da3a9c341698f8e0fe0827' 
  AND token = 'gb5Lz4sWS6N3fb1h5mPLAU8Xqwoq14y6ecrsmJiyXt0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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