SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bb34729a96f30694b9c9e5db3585c7cf872fffe1e467986e135b09ec2cd242a5' 
  AND token = '0oPOvykIHg/ZYtP/xJ4jtiQDlN7uruC2GwuOG20YNic=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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