SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27712366ca4d71f0a996fb3643b95aaf2acd3027734c8e5123d9874de3d62845' 
  AND token = 'KQooRwv08xjWRr26ybUwLQI1sspYS+5ggM/cPUnLS30=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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