SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '336e4c297c43cf772e931ac9b4b8007e3f5230756e8fc7005a957764526f98d9' 
  AND token = 'PZ+0D/9BwypzGFThiXfsprtWDh5yrEEHXYGFNhK4Ako=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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