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

Query time 0.00030

JSON explain

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