SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dec2175af92cc70e8a841a4422bef3ede1478d28adb930a81b62cc5cab727839' 
  AND token = 'oWBftCqb7esND8ZRbMR21/gDTZ2tiD7+aXf5UCN8P2A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00052

JSON explain

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