SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '39586e817061854bd6d462f1f814f5f55dda2a5d80a924ae457f081758032b86' 
  AND token = 'k2JeSsl2HcVbxvprmmuvy1p0cspFJykYp5q6wo02ukk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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